package org.jeecg.modules.basic.repair.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.basic.repair.entity.LwgyDepreRecord;
import org.jeecg.modules.basic.repair.entity.LwgyFixed;
import org.jeecg.modules.basic.repair.entity.LwgyFixedAssets;
import org.jeecg.modules.basic.repair.entity.PropertyReport;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description:固定资产
 * @Author: jeecg-boot
 * @Date:   2023-02-08
 * @Version: V1.0
 */
public interface ILwgyFixedService extends IService<LwgyFixed> {

    /**
     * 添加一对多
     *
     */
    public void saveMain(LwgyFixed lwgyFixed,List<LwgyDepreRecord> lwgyDepreRecordList) ;

    /**
     * 修改一对多
     *
     */
    public void updateMain(LwgyFixed lwgyFixed,List<LwgyDepreRecord> lwgyDepreRecordList);

    /**
     * 删除一对多
     */
    public void delMain (String id);

    /**
     * 批量删除一对多
     */
    public void delBatchMain (Collection<? extends Serializable> idList);



}
